﻿using OneStationFile.IBLL;
using OneStationFile.Model;
using OneStationFile.WEB.App_Start;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace OneStationFile.WEB.Controllers
{
    public class TestController : Controller
    {
        protected IBaseService BaseService { get; set; }
        protected ITestService TestService { get; set; }
        [UserLoginState]
        // GET: Test
        public ActionResult Index()
        {
            //var a = 1;
            //Users users = new Users();
            //users.Nmae = "lcw";
            //users.Pwd = "lcw";
            //users.Role = null;
            //bool a = BaseService.Add(users);
            //var a = BaseService.GetModelById<Users>(1);
            //var b = BaseService.GetModelById<Role>(1);
            //var c = BaseService.GetModelById<Node>(1);
            //ViewBag.a = a.Id;
            return View();
        }
        public ActionResult test1() {
            return View();
        }
    }
}